﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace DA1
{
    public partial class Main : Form
    {
        public Main()
        {
            InitializeComponent();
        }

       
        private void thoátToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            this.Close();
        }

       

        private void MN_LapHoaDonGiaoHang_Click(object sender, EventArgs e)
        {
            PhieuGiaoHang fm = new PhieuGiaoHang();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_LapHoaDonNhapNL_Click(object sender, EventArgs e)
        {
            PhieuNhapHang fm = new PhieuNhapHang();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_ThongTinCoBanCuaKH_Click(object sender, EventArgs e)
        {
            KhachHang fm = new KhachHang();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_ThongTinCoBanCuaTP_Click(object sender, EventArgs e)
        {
            ThanhPham fm = new ThanhPham();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_ThongTinCoBanCuaNL_Click(object sender, EventArgs e)
        {

        }

        private void MN_LoaiKH_Click(object sender, EventArgs e)
        {
            LoaiKhachHang fm = new LoaiKhachHang();
            fm.MdiParent = this;
            fm.Show();

        }

        private void MN_LoaiNL_Click(object sender, EventArgs e)
        {
            LoaiNLG fm = new LoaiNLG();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_ThemThanhPham_Click(object sender, EventArgs e)
        {
            CT_ThanhPham fm = new CT_ThanhPham();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_TimKiem_Click(object sender, EventArgs e)
        {
            Search_SoLuong_ConLaiTrongKho fm = new Search_SoLuong_ConLaiTrongKho();
            fm.MdiParent = this;
            fm.Show();
        }

        private void MN_DangNhap_Click(object sender, EventArgs e)
        {
            Login fm = new Login();
            fm.MdiParent = this;
            fm.Show();
        }

        private void inToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form1 fm = new Form1();
            fm.MdiParent = this;
            fm.Show();
        }

        private void inPhieuGiaoToolStripMenuItem_Click(object sender, EventArgs e)
        {
            InPhieuGiaoHang fm = new InPhieuGiaoHang();
            fm.MdiParent = this;
            fm.Show();
        }

        private void inReportToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form_Report fm = new Form_Report();
            fm.MdiParent = this;
            fm.Show();
        }

       

     

        
      

       
    }
}
